/*全局公用样式*/
view,
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box !important;
}
page {
	font-size: 24rpx;
}
image {
	display: block;
	width: 100%;
	height: 100%;
	will-change: transform;
	img {
		width: 100%;
		height: 100%;
	}
}
.color-blue {
	color: #3487cf;
}
.mt-20 {
	margin-top: 20upx;
}
.mb-20 {
	margin-bottom: 20upx;
}
.cl-blue {
	color: #3a8ede !important;
}
.cl-gary {
	color: #999999 !important;
}
.cl-red {
	color: #dd5353 !important;
}
.text-ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.text-ellipsis2 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.text-ellipsis3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
/*  公共padding类 start */
.pt-r-40 {
	padding-right: 20rpx !important;
}
.pt-l-40 {
	padding-left: 20rpx !important;
}
/*  公共padding类 end */

/*  全局表单样式  */
input {
	font-size: 28rpx;
	height: 100%;
}
swiper {
	height: 300rpx;
}
button {
	font-size: 24rpx;
}
button[size='mini'] {
	font-size: 24rpx;
}
.g-form {
	display: flex;
	flex-wrap: wrap;
	background: none;

	.form-item {
		min-width: 100%;
		flex: 1;
		flex-wrap: wrap;
		padding: 20rpx;
		display: flex;
		font-size: 30rpx;
		border-bottom: 1px solid #eee;
		background-color: white;
		align-items: center;
		&.tow-col {
			min-width: 50%;
			textarea {
				text-align: center;
			}
		}
		&.text-right {
			justify-content: flex-end;
		}
		&:last-of-type {
			border-bottom: none;
		}
	}
	textarea {
		display: block;
		width: inherit;
		height: inherit;
		min-height: 50rpx;
	}
	.form-item-label {
		justify-content: flex-end;
		display: flex;
		align-items: center;
		padding-left: 0;
		text-align: right;
		color: #666;
	}
	.blue {
		.form-item-label,
		.iconfont {
			color: blue;
		}
		.iconfont {
			margin-top: 4rpx;
			font-size: 24rpx;
		}
	}
	&.case-from {
		.form-item-label {
			width: 150rpx;
		}
	}
	&.diagnose-form {
		.form-item-label {
			width: 160rpx;
		}
	}
	.form-item-cont {
		flex: 1;
		width: 100%;
		color: #333;
	}
	.iconfont {
		display: flex;
		align-items: center;
		color: #333;
	}
	.image-list {
		display: flex;
		flex-wrap: wrap;
		.image-item {
			width: 31.56vw;
			padding: 10rpx;
		}
		.image-content {
			width: 100%;
			height: 31.56vw;
		}
		.image-title {
			margin-top: 10rpx;
			font-size: 24rpx;
			color: #cb1019;
			text-align: center;
		}
	}
}
.user-badge {
	// 公共 badge
	display: inline-block;
	padding: 6rpx;
	min-width: 24rpx;
	font-size: 24rpx;
	color: white;
	line-height: 1;
	border-radius: 18rpx;
	opacity: 0.8;
	background: #cb1019;
}
/* 修改collapse 收起时的背景色 */
.uni-collapse {
	margin-top: 14rpx;
	background: none !important;
}
.uni-collapse-cell {
	border: none !important;
}
.uni-collapse-cell--open {
	background-color: #f0f0f0 !important;
}
.uni-collapse-cell__title {
	background: white;
}
.user-collapse-item {
	margin-bottom: 14rpx;
}
/* 修改默认draw 宽度  start*/
.drawer-wraper {
	.uni-drawer {
		.uni-drawer__content {
			width: 80%;
		}
	}
}
/* 修改默认draw 宽度  end*/
.uni-popup {
	z-index: 1000 !important;
}

/*  云诊疗搜索框 start */
.search-wraper {
	background-color: white;
	&.zindex-top {
		position: relative;
		z-index: 1001;
	}
	.uni-combox__selector-item {
		border-bottom: 1px dashed #f0f0f0;
	}
	.uni-search-form {
		position: relative;
		border: 1px solid #ddd;
	}
	.uni-combox__selector {
		z-index: 998;
	}
	.keywords {
		padding: 20rpx 8rpx;
		white-space: nowrap;
		background-color: #f8f8f8;
		.keywords-item {
			display: inline-block;
			height: 50rpx;
			padding: 0 20rpx;
			margin: 0 10rpx;
			color: #666;
			font-size: 24rpx;
			line-height: 50rpx;
			background: #fff2c4;
			border-radius: 30rpx;
		}
		.active {
			color: white;
			background-color: #4693b7;
		}
	}
}
/*  云诊疗搜索框 end */

/* 适配底部边距 start */
.fit-bottom {
	padding-bottom: calc(env(safe-area-inset-bottom) / 2) !important;
}
/* 适配底部边距 end */

/* 一直固定在顶部的tab start */
.segment-pt-top {
	/* 调整固定的tab距离顶部的距离  */
	padding-top: 100rpx;
}
.idx-top-segment{
	height: 96rpx!important;
}
.idx-top-segment .segmented-control {
	height: 84rpx !important;
	margin-top: 10rpx!important;
}
.idx-segment{
	.segmented-control{
		height: 70rpx!important;
		
	}
}
.segment.fixed-top {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 1000;
	margin: 0 auto;
	background: white;
	box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid #eee;
	.segmented-control {
		height: 100rpx;
	}
}
/* 一直固定在顶部的tab end */

/*  用户中心tab 切换调整  start*/
.segment.my-segment {
	.segmented-control {
		height: 100rpx;
	}
}
/*  用户中心tab 切换调整  end */

/* 修改搜索样式，end */
.user-mask {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	margin: auto;
	background-color: rgba(0, 0, 0, 0);
}
.search-types-name-wraper {
	margin-bottom: 10rpx;
	padding-left: 0 !important;
	padding-right: 0 !important;
	background: white;
}
.search-types-name {
	.text,
	.placeholder,
	.textarea {
		color: #e64340 !important;
	}
}
/*  业务条目样式修该 */
.busi-cmd-cell-item {
	.cmd-cell-item {
		margin-bottom: 20rpx;
	}
}
/*  修改iconfont 默认图标大小  */
.iconfont {
	font-size: 32rpx;
	align-items: center;
}

/* 弹窗底部按钮公共样式 */
.popup-button{
	display: flex;
	flex-direction: row;
	button{
		margin: 0;
		border-radius: 0;
		outline: none;
		background:#cb1019; 
		color: #fff;
		padding: 0 50rpx;
		font-size: 26rpx!important;
		&:only-child{
			border-radius:35rpx!important;
			margin-right: 0!important;
		}
		&:first-child{
			border-top-left-radius:35rpx;
			border-bottom-left-radius:35rpx;
			margin-right: 6rpx;
		}
		&:last-child{
			border-top-right-radius:35rpx;
			border-bottom-right-radius:35rpx;
			margin-left: 6rpx;
		}
	}
}
/* flex布局 */
.flex-row{
	display: flex;
	flex-direction: row;
}
.flex-colomn{
	display: flex;
	flex-direction: column;
}